package com.egreen.common.pojo.entity.system;


import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author cloudJiang
 * @since 2022-07-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_system_information")
public class SystemInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 消息发送时间
     */
    private LocalDateTime sendTime;

    /**
     * 消息标题
     */
    private String title;

    /**
     * 消息内容
     */
    private String content;

    /**
     * 已读人数
     */
    private Integer readNumber;

    /**
     * 信息状态
     */
    private Integer state;

    /**
     * 接收消息的用户id
     */
    private Integer userId;

    /**
     * 发送消息的管理员id
     */
    private Integer adminId;

    /**
     * 逻辑删除
     */
    @TableLogic
    private Integer deleted;
}
